var IPublish = Vue.component('IPublish', { 

    data() {
        return {
            
        }
    },
    
    template: `<div class="inform__ipublish__box">
                    <div class="inform__ipublish__con">
                        <div class="inform__ipublish__title">
                            <h3 class="index__title">资讯发布</h3>
                        </div>
                        <div class="table__two">
                            <div class="table__two__list">
                                <table>
                                    <tbody>
                                        <tr>
                                            <th>
                                                <span>资讯标题</span>
                                            </th>
                                            <td>
                                                <input type="text" placeholder="请输入标题" size="10">
                                            </td>
                                        </tr>
                                        <tr>
                                            <th>
                                                <span>图片</span>
                                            </th>
                                            <td>
                                                <span class="table__upload">点击上传图片</span>
                                            </td>
                                        </tr>
                                        <tr>
                                            <th>
                                                <span>资讯内容</span>
                                            </th>
                                            <td>
                                                <textarea placeholder="请输入内容, 最大可输入300字符" maxlength="300"></textarea>
                                            </td>
                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                        <div class="inform__ipublish__btn">
                            <span class="inform__ipublish__button">发布</span>
                        </div>
                    </div>
                </div>`,
    
    methods: {
        goBackFun: function () {
            this.$router.go(-1)
        }
    },

    created() {
        
    },
})